	<!--js 模板API文档-->
<!-- https://github.com/aui/artTemplate#%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>test template</title>
		<script src="js/template.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="content">
			
		</div>
		<script type="text/html" id="testTemplate">
			
			<ul>
				{{each arr as value i}}
				<li>{{value}}</li>
				{{/each}}
			</ul>
		</script>
		<script type="text/javascript">
			var obj = {arr:['a','b','c','d']};
			var html = template('testTemplate',obj);
			document.getElementById("content").innerHTML =html;
		</script>
	</body>
</html>
